package com.qf.shopping.service.carService.impl;

import com.qf.shopping.mapper.carMapper.ProductMapper;
import com.qf.shopping.service.carService.IProductService;
import com.qf.shopping.vo.carVO.ProductVO;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author Humy
 * @date 2019/4/17 11:28
 */

@Service
@Transactional
public class ProductServiceImpl implements IProductService {

    @Resource
    private ProductMapper productMapper = null;


    @Override
    public void addProduct(ProductVO productVo) {


        productMapper.insert(productVo);

    }

    @Override
    public List<ProductVO> queryAllProducts() {
        return null;
    }

    @Override
    public List<ProductVO> queryProducts(ProductVO productVo) {
        return null;
    }

    @Override
    public void updateProduct(ProductVO productVo) {

    }
}
